
import 'dart:async';

import 'package:flutter/services.dart';

class FlutterDesbase64Plugin {
  static const MethodChannel _channel = MethodChannel('flutter_desbase64_plugin');

  static Future<String?> get platformVersion async {
    final String? version = await _channel.invokeMethod('getPlatformVersion');
    return version;
  }

  static Future<String> decodeString(String compressedString) async {
    Map<String, dynamic> args = {};
    args['originString'] = compressedString;
    String message = await _channel.invokeMethod('jyZipAndDecodeInfo', args);
    return message;
  }
}
